package cn.pzaily.orange.backup.datasource;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @PackageName: cn.pzaily.orange.config
 * @Description:
 * @Author: Pang
 * @Date: 2021-05-10 17:27
 */
@Component
@ConfigurationProperties(prefix = "backup.datasource")
public class BackupDataSourceProperties {

    private String host;
    private String database;
    private String username;
    private String password;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getDatabase() {
        return database;
    }

    public void setDatabase(String database) {
        this.database = database;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
